package com;

import org.springframework.aop.framework.AopContext;

/**
 * @Description
 * @Author 86199
 * @Date 2021/4/14 14:51
 */
public class CustomerServiceImpl implements CustomerService {

    @Override
    public void doSomething1() {
        System.out.println("CustomerServiceImpl.doSomething1()");
        ((CustomerService)AopContext.currentProxy()).doSomething2();
    }


    @Override
    public void doSomething2() {
        System.out.println("CustomerServiceImpl.doSomething2()");
    }

}